package com.ruoyi.merchant.service.impl;

import com.ruoyi.merchant.domain.ProvinceInfo;
import com.ruoyi.merchant.mapper.ProvinceInfoMapper;
import com.ruoyi.merchant.service.ProinceInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProinceInfoServiceImpl implements ProinceInfoService {

    @Autowired
    private ProvinceInfoMapper provinceInfoMapper;

    @Override
    public List<ProvinceInfo> list() {
        return provinceInfoMapper.selectAllProvinces();
    }
}
